home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / wtek0693.zip / OOPALLEY.ZIP / ASSOCINT.H < prev    next >
C/C++ Source or Header  |  1993-04-27  |  731b  |  26 lines

  1. #ifndef ASSOCINT_H
  2. #define ASSOCINT_H
  3.  
  4. #include "lookupke.h"
  5. #include "integer.h"
  6.  
  7. extern const Class class_AssocInt;
  8.  
  9. ////////////////////////////////////////////////////////////
  10. // class AssocInt (declaration)
  11. ////////////////////////////////////////////////////////////
  12. class AssocInt: public LookupKey {
  13.     Integer avalue;
  14. public:
  15.             // constructors, destructors
  16.             AssocInt(const Object& newKey =*nil, int newValue =0);
  17.  
  18.     virtual void            deepenShallowCopy();
  19.     virtual const Class*    isA() const;
  20.     virtual void            printOn(ostream& strm) const;
  21.     virtual Object*         value() const;
  22.     virtual Object*         value(const Object& newValue);
  23. };
  24.  
  25. #endif
  26.